* @param aNamespaceURI The namespace of the thing being coded
*
* @param aName The name of the thing being coded
*
* @param aSchemaType The schema type of the thing being encoded
*
* @param aDestination The node scope, if any, where the result
* will live. If this is null, then the result must be
* explicitly attached to the message.
*
* @return element which was inserted.
*
* @param aAttachments Accumulates any attachments.
*/
/* nsIDOMElement encode (in nsISOAPEncoding aEncoding, in nsIVariant aSource, in AString aNamespaceURI, in AString aName, in nsISchemaType aSchemaType, in nsISOAPAttachments aAttachments, in nsIDOMElement aDestination); */
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsSOAPEncoder : public nsISOAPEncoder
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISOAPENCODER
nsSOAPEncoder();
private:
~nsSOAPEncoder();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsSOAPEncoder, nsISOAPEncoder)
nsSOAPEncoder::nsSOAPEncoder()
{
/* member initializers and constructor code */
}
nsSOAPEncoder::~nsSOAPEncoder()
{
/* destructor code */
}
/* nsIDOMElement encode (in nsISOAPEncoding aEncoding, in nsIVariant aSource, in AString aNamespaceURI, in AString aName, in nsISchemaType aSchemaType, in nsISOAPAttachments aAttachments, in nsIDOMElement aDestination); */